<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>详情</title> <%@ include file="/page/include.jsp"%>
</head>
<body class="nav-md">
	<div class="container body">
		<div class="main_container">
			<div class="framebody" style="min-height: 100%;">
				<div class="row">
					<div class="col-md-12 col-sm-12 col-xs-12">
						<div class="x_panel">
							<div class="x_title">
								<h2>
									<i class="fa fa-info fa-fw"></i>申请注册信息 <small></small>
								</h2> 
								<div class="clearfix"></div>
							</div>
							<div class="x_content">
								<form id="position-form" class="form-horizontal form-label-left">
									<input type="hidden" id="customerId" value="${customer.id }" />
									
									<div class="form-group">
										<label class="control-label col-md-1 form-item-label-100" for="status" >手机号码:
										</label>
										<div class="col-md-2">
										<label class="control-label">${customer.mobile } </label>
										</div>
										
										<label class="control-label col-md-1 form-item-label-100" for="status" >用户名:
										</label>
										<div class="col-md-2">
										<label class="control-label">${customer.userName } </label>
										</div>
										
										<label class="control-label col-md-1 form-item-label-100" for="status" >用户邮箱:
										</label>
										<div class="col-md-2">
										<label class="control-label">${customer.email } </label>
										</div>
									</div>
									
									<div class="form-group">
										<label class="control-label col-md-1 form-item-label-100" for="status" >单位名称:
										</label>
										<div class="col-md-2">
										<label class="control-label">${customer.companyInfo.companyName } </label>
										</div>
										
										<label class="control-label col-md-1 form-item-label-100" for="status" >申请时间:
										</label>
										<div class="col-md-4">
										<label class="control-label"><fmt:formatDate value="${customer.createTime }"   pattern="yyyy-MM-dd hh:mm:ss" type="date" dateStyle="long" /></label>
										</div>
									</div>
									
									<c:if test="${ customer.status eq '0' }">
									<div class="form-group">
										<label class="control-label col-md-1 form-item-label-100" for="status" >审核:
										</label>
										<div class="col-md-4">
											<label class="control-label" for="status">
											<input type="radio" name="status" checked value="1" class="form-control" /> 通过
											</label>
											&nbsp;&nbsp;
											<label class="control-label" for="status">
											<input type="radio" name="status" value="2" class="form-control" /> 不通过
											</label>
										</div> 
	
									</div>
									
									<div class="form-group">
	
										<label class="control-label col-md-1 form-item-label-100" for="remark" style="width:100px;">审核备注:
										</label>
										<div class="col-md-10">
											<textarea type="text" id="auditRemark" name="auditRemark" style="height:60px;width:300px;" class="form-control"></textarea>
										</div>
									</div>
									</c:if>
									<c:if test="${ customer.status eq '0' }">
									<div class="form-group">
										<div class="form-btn-content">
											<a class="btn btn-primary" id="btnSave"><i class="fa fa-search-plus fa-fw"></i>确定</a>
											<a class="btn btn-default" id="btnCancel"><i class="fa fa-search-plus fa-fw"></i>取消</a>
										</div>
									</div>
									</c:if>
								</form>
							</div>
						</div>
						
						<c:if test="${customer.status ne '0' }">
						<div class="x_panel">
							<div class="x_title">
								<h2>
									<i class="fa fa-info fa-fw"></i>处理信息 <small></small>
								</h2> 
								<div class="clearfix"></div>
							</div>
							<div class="x_content">
								<form class="form-horizontal form-label-left">
									<div class="form-group">
										<label class="control-label col-md-1 form-item-label-100" for="status" >审核人:
										</label>
										<div class="col-md-2">
										<label class="control-label">${customer.auditor } </label>
										</div>
										
										<label class="control-label col-md-1 form-item-label-100" for="status" >审核时间:
										</label>
										<div class="col-md-4">
										<label class="control-label"><fmt:formatDate value="${customer.auditTime }"   pattern="yyyy-MM-dd hh:mm:ss" type="date" dateStyle="long" /></label>
										</div>
									</div>
									
									<div class="form-group">
										<label class="control-label col-md-1 form-item-label-100" for="status" >审核结果:
										</label>
										<div class="col-md-2">
										<label class="control-label">
											<c:if test="${customer.status eq '1' }">审批通过</c:if>
											<c:if test="${customer.status eq '2' }">审批不通过</c:if>
										</label>
										</div>
									</div>
									
									<div class="form-group">
										<label class="control-label col-md-1 form-item-label-100" for="status" >审核备注:
										</label>
										<div class="col-md-2">
										<label class="control-label">${customer.auditRemark } </label>
										</div>
									</div>
								</form>
							</div>
						</div>
						</c:if>
						
					</div>
				</div>
			</div>
		</div>
	</div>
	<script src="${rootPath}/js/customer/register_customer_info.js"></script>
</body>
</html>